package router

import (
	"api-server/handler/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(r *gin.RouterGroup) {
	user := r.Group("/user")
	{
		user.POST("/login_and_register", api.LoginAndRegister)
		user.GET("/send_sms", api.SendSms)
		user.POST("/sms_login", api.SmsLogin)
	}
}
